// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeInstanceMonitorDataResponse.h"

namespace aliyun { namespace Ecs {

DescribeInstanceMonitorDataResponse::DescribeInstanceMonitorDataResponse() {
}

const string& DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetInstanceId(void) const {
  return InstanceId_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetCPU(void) const {
  return CPU_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetIntranetRX(void) const {
  return IntranetRX_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetIntranetTX(void) const {
  return IntranetTX_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetIntranetBandwidth(void) const {
  return IntranetBandwidth_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetInternetRX(void) const {
  return InternetRX_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetInternetTX(void) const {
  return InternetTX_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetInternetBandwidth(void) const {
  return InternetBandwidth_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetIOPSRead(void) const {
  return IOPSRead_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetIOPSWrite(void) const {
  return IOPSWrite_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetBPSRead(void) const {
  return BPSRead_;
}

int DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetBPSWrite(void) const {
  return BPSWrite_;
}

const string& DescribeInstanceMonitorDataResponse::InstanceMonitorData::GetTimeStamp(void) const {
  return TimeStamp_;
}

const std::vector<DescribeInstanceMonitorDataResponse::InstanceMonitorData>& DescribeInstanceMonitorDataResponse::GetMonitorData(void) const {
  return MonitorData_;
}

const char* DescribeInstanceMonitorDataResponse::BaseKey(void) {
  return "DescribeInstanceMonitorDataResponse";
}

void DescribeInstanceMonitorDataResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int MonitorData__length = 0;
  UnmarshallerInt(MonitorData__length, response_map, "DescribeInstanceMonitorDataResponse.MonitorData.Length");
  if(MonitorData__length >= 0) {
    MonitorData_.resize(MonitorData__length);
    for(int i1 = 0; i1 < MonitorData__length; i1++) {
      UnmarshallerString(MonitorData_[i1].InstanceId_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].InstanceId");
      UnmarshallerInt(MonitorData_[i1].CPU_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].CPU");
      UnmarshallerInt(MonitorData_[i1].IntranetRX_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IntranetRX");
      UnmarshallerInt(MonitorData_[i1].IntranetTX_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IntranetTX");
      UnmarshallerInt(MonitorData_[i1].IntranetBandwidth_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IntranetBandwidth");
      UnmarshallerInt(MonitorData_[i1].InternetRX_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].InternetRX");
      UnmarshallerInt(MonitorData_[i1].InternetTX_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].InternetTX");
      UnmarshallerInt(MonitorData_[i1].InternetBandwidth_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].InternetBandwidth");
      UnmarshallerInt(MonitorData_[i1].IOPSRead_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IOPSRead");
      UnmarshallerInt(MonitorData_[i1].IOPSWrite_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].IOPSWrite");
      UnmarshallerInt(MonitorData_[i1].BPSRead_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].BPSRead");
      UnmarshallerInt(MonitorData_[i1].BPSWrite_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].BPSWrite");
      UnmarshallerString(MonitorData_[i1].TimeStamp_, response_map, "DescribeInstanceMonitorDataResponse.MonitorData["+string_ValueOfInt(i1)+"].TimeStamp");
    } // for(int i1 = 0; i1 < MonitorData__length; i1++) {
  } // if(MonitorData__length >= 0) {

}


} } // namespace aliyun { namespace Ecs {

// end of file 
